import {WxUser} from "db://assets/scripts/dto/WxUser";
import {Vec3DTO} from "db://assets/scripts/dto/Vec3DTO";
import {Prop} from "db://assets/scripts/dto/Prop";

export class ClientInfoDTO {
    // 客户端唯一标识
    token: string;
    // 存储 WebSocket 会话信息
    session: any;
    // 连接存活时间
    existTime: Date;
    // 当前玩家信息
    currentPlayer: WxUser;
    // 是否正在匹配
    match: boolean;
    // 房间编号
    roofNo: string;
    // 在房间第几位
    roofNumber: number;
    // 是否在线
    isOnline: boolean;

    before?: [Vec3DTO[]];
    current?: [Vec3DTO[]];
    directive?: string;
    score: number;
    opponentCurrentScore: number;

    status: number;

    lv: string;

    props?: Prop[]

}